function useGenCellStyle(styles, rowHeight, rowSpan,) {
    let style = { ...styles };
    if (rowSpan > 1) {        
        style = {
            ...style,
            height: rowSpan * rowHeight-1,
            position: 'relative',
            zIndex: 1,
            backgroundColor: '#fff',//测试用的背景色
        }

    } else if (rowSpan === 0) {
        style.visibility = 'hidden';
    }
    return style;
}
export default useGenCellStyle;